package cn.com.surker.base.strength.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 强度等级关联站点表
 * </p>
 *
 * @author admin
 * @since 2024-07-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BaseStrengthOrg implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关联站点
     */
    private Long orgId;

    /**
     * erpid
     */
    private Long erpId;
    /**
     * 是否有资料(0:是1:否)
     */
    private Integer isInfo;

    /**
     * 是否显示0显示 1不显示
     */
    private Integer isDisplay;

    /**
     * 强度id
     */
    private Long strengthId;
    /**
     *  标号运输类型 0普通混凝土，1砂浆，2水，3，水稳层，4，干喷混凝土，5透水混凝土，6，彩色混凝土
     */
    private Integer transportType;

    /**
     * 状态(0:启用1：禁用)
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
    private Date createTime;

    /**
     * 修改人
     */
    private String updator;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
    private Date updateTime;

    public BaseStrengthOrg(){}
    public BaseStrengthOrg(Long orgId, Long erpId, Long strengthId, Integer status, String remark, String creator, Date createTime) {
        this.orgId = orgId;
        this.erpId = erpId;
        this.strengthId = strengthId;
        this.status = status;
        this.remark = remark;
        this.creator = creator;
        this.createTime = createTime;
    }
}
